<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <button onclick="doReload()">reload重新加载文档——刷新页面</button>
    <!-- 不能后退、前进 -->
    <button onclick="toBaidu()">replace替换当前文档——百度</button>
    <!-- 可以后退、前进 -->
    <button onclick="doAssign()">assign载入一个新的文档——百度</button>
    <script src="./9.17.js"></script>
</body>
</html>